package com.module.third.service.http

import com.module.frame.retrofit.BaseFrameRetrofit
import okhttp3.Interceptor

/**
 *  Retrofit 实例，
 *  只用于Third 模块的请求
 */
class ThirdRetrofit : BaseFrameRetrofit() {

    /**
     * 添加拦截器
     */
    override fun provideCustomInterceptors(): List<Interceptor> {
        return mutableListOf()
    }
}


//双重校验锁式-单例  方便直接快速调用简单的接口
val thirdRetrofit: ThirdRetrofit by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
    ThirdRetrofit()
}

